"""
用while循环计算 1- 100 之间所有整数的和
"""

sum = 0
i = 1
while i <= 100:
    sum = sum + i
    i = i + 1

print(sum)